package com.wd.common.userservice;

import androidx.lifecycle.MutableLiveData;

import com.wd.base.service.IService;
import com.wd.common.userservice.bean.MemberBean;

/**
 * 会员的服务接口类<BR>
 *
 * @author w4425
 * @version [V2.0.0, 2021/3/18]
 * @since V2.0.0
 */
public interface IMemberCommonService extends IService {
    /**
     * 模糊查询会员信息
     *
     * @param key 手机号
     * @return 会员信息
     */
    MemberBean queryMemberInfo(String key);

    /**
     * 获取会员data
     */
    void queryDataFromNet();

    /**
     * 获取live对象
     *
     * @return liveData
     */
    MutableLiveData getMemberLiveData();
}
